﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Classes
{
    class StudentsList
    {
        public string firstName;
        public string lastName;
        public DateTime dateOfBirth;

        public string AddStudent(string student)
        {
            StudentsList newStudent = new StudentsList();
            newStudent.firstName = "Vasya";
            newStudent.lastName = "Petrov";
            newStudent.dateOfBirth = DateTime.Parse("2016 - 6 - 10");
            return student;
        }
         
        public string AddStudentToList (StudentsList student)
        {
            List<StudentsList> Students = new List<StudentsList>();
            foreach(var students in Students)
            {
                students = Students.Add(student);

            }

        }

    }
}
